import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 适配移动端
import 'amfe-flexible'
// 按需引入vant组件
import { Row, Tag, Col, Badge, Popup, Button, NavBar, Form, Field, CellGroup, Tabbar, TabbarItem, Icon, Tab, Tabs, Cell, List, PullRefresh, ActionSheet, Notify, Image } from 'vant';

createApp(App).use(store).use(router)
    .use(Button).use(NavBar).use(Form).use(Field).use(CellGroup).use(Tabbar).use(TabbarItem)
    .use(Icon).use(Tab).use(Tabs).use(Cell).use(List).use(PullRefresh).use(ActionSheet).use(Notify).use(Popup).use(Row).use(Col).use(Badge).use(Tag).use(Image)
    .mount('#app')
